package entity;

import java.io.Serializable;

/**
 * 用户信息类
 */
public class User implements Serializable {

    private static final long serialVersionUID = 1L;
    private int qq;
    private String nickname;
    private String pwd;
    private String sign;
    private String avatarID;

    public int getQq() {
        return qq;
    }

    public void setQq(int qq) {
        this.qq = qq;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getAvatarID() {
        return avatarID;
    }

    public void setAvatarID(String avatarID) {
        this.avatarID = avatarID;
    }

    public User() {
    }

    public User(int qq, String pwd) {
        this.qq = qq;
        this.pwd = pwd;
    }

    public User(int qq, String nickname, String pwd, String sign, String avatarID) {
        this.qq = qq;
        this.nickname = nickname;
        this.pwd = pwd;
        this.sign = sign;
        this.avatarID = avatarID;
    }

    public User(String nickname, String pwd, String sign, String avatarID) {
        this.nickname = nickname;
        this.pwd = pwd;
        this.sign = sign;
        this.avatarID = avatarID;
    }


    @Override
    public String toString() {
        return "User{" +
                "qq=" + qq +
                ", nickname='" + nickname + '\'' +
                ", pwd='" + pwd + '\'' +
                ", sign='" + sign + '\'' +
                ", avatarID=" + avatarID +
                '}';
    }
}
